<template>
  <div>
      <van-nav-bar
      title="登录"
      fixed
      placeholder
      z-index="999"
      left-arrow
      @click-left="$router.back()"
    />
    <main class="login-main">
      <div class="login-logo"><img class="imga" src="../../src/assets/logo.png" /></div>
      <div class="login-from">
        <label>
          <input type="text" placeholder="请输入用户名" />
        </label>
        <label>
          <input type="password" placeholder="请输入密码" />
        </label>
      </div>
      <div class="login-btn">
        <a href="javascript:void(0)">登录</a>
      </div>
      <div class="link-reg" @click="$router.push('/reg')">
        <a href="javascript:void(0)">还没账号？</a>
      </div>
      <div class="link-home"  @click="$router.back()">
        <a href="javascript:void(0)">暂不登录</a>
      </div>
    </main>
  </div>
</template>

<script>
export default {
  name: "login",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>
/************* 登录页  *************/
  @import url('./css/login.less');
</style>